package chapter1023;

public class PC extends Computer{
    private String user;

    public PC() {
        super();
    }

    public PC(String cpu, String ram, String disk, String user) {
        super(cpu, ram, disk);
        this.user = user;
    }

    @Override
    public String getDetails() {
        return super.getDetails() + "user: " + user;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
